package ruteodosciudades.algoritmo.extra;

/**
 *
 * @author gonzaleza
 */
public class Registro {

    //atributos para leer las columnas de la tabla ciudades y hacer lo más
    //parecido posible al archivo graph1.txt

    private String sourceName;
    private String destName;
    private int cost;

    public Registro() {
    }

    public Registro(String sourceName, String destName, int cost) {
        this.sourceName = sourceName;
        this.destName = destName;
        this.cost = cost;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public String getDestName() {
        return destName;
    }

    public void setDestName(String destName) {
        this.destName = destName;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }


}
